package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.util.List;


/**
 * The persistent class for the seven_seven_asset_status_tbl database table.
 * 
 */
@Entity
@Table(name="seven_seven_asset_status_tbl")
public class SevenSevenAssetStatus extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ASSET_ID_CODE")
	private int assetIdCode;

	@Column(name="ASSET_DESC")
	private String assetDesc;

	@Column(name="ASSET_RMKS")
	private String assetRmks;

	@Column(name="ASSET_SRL_NO")
	private String assetSrlNo;

	@Column(name="ASSET_TAG_NO")
	private String assetTagNo;

	//bi-directional many-to-one association to SevenSevenAssetRepairMonitoring
	@OneToMany(mappedBy="sevenSevenAssetStatus")
	private List<SevenSevenAssetRepairMonitoring> sevenSevenAssetRepairMonitoringRep;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="ASSET_ISSUER")
	private Reference assetIssuer;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="ASSET_STAT")
	private Reference assetStat;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="ASSET_TYPE")
	private Reference assetType;

	//bi-directional many-to-one association to SevenSevenDeployedAssetMonitoring
	@OneToMany(mappedBy="sevenSevenAssetStatus")
	private List<SevenSevenDeployedAssetMonitoring> sevenSevenDeployedAssetMonitoringDep;

	public SevenSevenAssetStatus() {
	}

	public int getAssetIdCode() {
		return this.assetIdCode;
	}

	public void setAssetIdCode(int assetIdCode) {
		this.assetIdCode = assetIdCode;
	}

	public String getAssetDesc() {
		return this.assetDesc;
	}

	public void setAssetDesc(String assetDesc) {
		this.assetDesc = assetDesc;
	}

	public String getAssetRmks() {
		return this.assetRmks;
	}

	public void setAssetRmks(String assetRmks) {
		this.assetRmks = assetRmks;
	}

	public String getAssetSrlNo() {
		return this.assetSrlNo;
	}

	public void setAssetSrlNo(String assetSrlNo) {
		this.assetSrlNo = assetSrlNo;
	}

	public String getAssetTagNo() {
		return this.assetTagNo;
	}

	public void setAssetTagNo(String assetTagNo) {
		this.assetTagNo = assetTagNo;
	}

	public List<SevenSevenAssetRepairMonitoring> getSevenSevenAssetRepairMonitoringRep() {
		return this.sevenSevenAssetRepairMonitoringRep;
	}

	public void setSevenSevenAssetRepairMonitoringRep(List<SevenSevenAssetRepairMonitoring> sevenSevenAssetRepairMonitoringRep) {
		this.sevenSevenAssetRepairMonitoringRep = sevenSevenAssetRepairMonitoringRep;
	}

	public Reference getAssetIssuer() {
		return this.assetIssuer;
	}

	public void setAssetIssuer(Reference assetIssuer) {
		this.assetIssuer = assetIssuer;
	}

	public Reference getAssetStat() {
		return this.assetStat;
	}

	public void setAssetStat(Reference assetStat) {
		this.assetStat = assetStat;
	}

	public Reference getAssetType() {
		return this.assetType;
	}

	public void setAssetType(Reference assetType) {
		this.assetType = assetType;
	}

	public List<SevenSevenDeployedAssetMonitoring> getSevenSevenDeployedAssetMonitoringDep() {
		return this.sevenSevenDeployedAssetMonitoringDep;
	}

	public void setSevenSevenDeployedAssetMonitoringDep(List<SevenSevenDeployedAssetMonitoring> sevenSevenDeployedAssetMonitoringDep) {
		this.sevenSevenDeployedAssetMonitoringDep = sevenSevenDeployedAssetMonitoringDep;
	}

}